<template>
  <a-config-provider :locale="zhCN">
    <Cyheader />
    <!-- <Pint v-if="isPint"></Pint> -->
    <Pint></Pint>
    <router-view />
  </a-config-provider>
</template>
<script>
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import Cyheader from "@/components/cyHeader.vue"
import Pint from "@/components/Pint.vue"
export default {
  data(){
    return {
      zhCN,
      isPint:false
    }
  },
  created(){
  },
  watch: {
    $route(to,from){
      this.isPint = this.$route.path !== '/'
    }
  },
  components: {
    Cyheader,
    Pint
  }
}
</script>
<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
</style>
